'''------------------------------------------------------------------------------------------------
 $ @Author: your name
 $ @Date: 2021-12-24 23:38:37
 $ @LastEditTime: 2021-12-24 23:52:50
 $ @LastEditors: Please set LastEditors
 $ @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 $ @FilePath: \YSQTrackerEvaluationToolKit_v1.0\Tools\printTable.py
--------------------------------------------------------------------------------------------------'''
class PrintTable():
    def __init__(self) -> None:
        self.tableStr = ''
        self.table = []
        self.rowNum = 0
        self.colNum = 0

    def addRow(self,input):
        # 保证每一行的元素个数相同
        if self.colNum < len(input):
            for row in range(len(self.table)):
                while(len(row)<len(input)):
                    row.append(' ')
            self.rowNum = len(input)
        elif self.colNum > len(input):
            while(len(input)<self.colNum):
                input.apennd(' ')
        self.table.append(input)
        self.rowNum += 1
    def printStr(self)
